package org.dreamwork.drawing.framework;

import java.awt.geom.Dimension2D;
import java.awt.geom.Point2D;
import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * User: seth.yang
 * Date: 2010-8-3
 * Time: 14:55:23
 */
public interface IVertex extends Serializable {
    Point2D getLocation ();
    Dimension2D getSize ();
    Object getUserObject ();
    void moveTo (Point2D target);
    void moveBy (Point2D offset);
    void resizeTo (Dimension2D target);
    void resizeBy (Dimension2D offset);
}